//
//  PSXQView.m
//  KCFurProject
//
//  Created by ios程序员 on 15/11/7.
//  Copyright (c) 2015年 ios程序员. All rights reserved.
//

#import "PSXQView.h"

@implementation PSXQView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.xuanZeButton = [UIButton buttonWithType:UIButtonTypeCustom];
        self.xuanZeButton.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
        [self.xuanZeButton setTitle:@"请选择颜色和尺码" forState:UIControlStateNormal];
        [self.xuanZeButton setTitleColor:[UIColor redColor] forState:UIControlStateHighlighted];
        self.xuanZeButton.titleLabel.font = [UIFont systemFontOfSize:13];
        [self.xuanZeButton setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
        self.xuanZeButton.backgroundColor = [UIColor whiteColor];
        [self addSubview:self.xuanZeButton];
        
        self.qJimage = [[UIImageView alloc] initWithFrame:CGRectMake(WI-25*HEIGH, 3*HEIGH,20*WIDTH , 20*HEIGH)];
        self.qJimage.backgroundColor = [UIColor whiteColor];
        [self.qJimage setImage:[UIImage imageNamed:@"qj"]];
        [self addSubview:self.qJimage];
        
        
    }
    return self;
}


@end
